﻿using System;
using System.Collections.Generic;
using System.Linq;
using System.Text;
using System.Runtime.Serialization;

namespace a_fung
{
	[DataContract]
	public class PrototypeItem
	{
		[DataMember]
		public string id = "";

		[DataMember]
		public string title = "";

		[DataMember]
		public string location = "";

		[DataMember]
		public DateTime startDate;

		[DataMember]
		public DateTime dueDate;

		public override string ToString()
		{
			return (String.IsNullOrEmpty(title)) ? "Untitled" : title;
		}
	}
}
